import React, { Component } from 'react'
import { NavLink } from 'react-router-dom'
export default class TabBar extends Component {
    render() {
        return (
            <div className="tabbar">
                <NavLink className="block" to="/home">
                    <img src="https://dummyimage.com/30x30/0ff" alt="" />
                    <div>首页</div>
                </NavLink>
                <NavLink className="block" to="/order">
                    <img src="https://dummyimage.com/30x30/0ff" alt="" />
                    <div>订单</div>
                </NavLink>
                <NavLink className="block" to="/my">
                    <img src="https://dummyimage.com/30x30/0ff" alt="" />
                    <div>我的</div>
                </NavLink>
            </div>
        )
    }
}
